import { Form } from 'antd'
import React from 'react'

export default function StudentStatusTable({ stuStatus }) {

  return (
    <Form className='stuStatus-box'>
      <div className='basic-information-box'>
        <div className='basic-information'>基本信息</div>
        <div className='inl-blo stu-infor-title '>姓名</div>
        <div className='inl-blo stu-infor'>{stuStatus.fd_name}</div>
        <div className='inl-blo stu-infor-title'>学号</div>
        <div className='inl-blo stu-infor'>{stuStatus.fd_idNum}</div>
        <div className='inl-blo stu-infor-title'>性别</div>
        <div className='inl-blo stu-infor'>
          {
            stuStatus.fd_sex === 1 ? "男" :
              stuStatus.fd_sex === 2 ? "女" :
                "未知"
          }
        </div>
        <div className='inl-blo stu-infor-title '>学籍号</div>
        <div className='inl-blo stu-infor'>{stuStatus.fd_studentStatusNum}</div>
        <div className='inl-blo stu-infor-title'>曾用名</div>
        <div className='inl-blo stu-infor'>{stuStatus.fd_formerName}</div>
        <div className='inl-blo stu-infor-title '>出生日期</div>
        <div className='inl-blo stu-infor'>{stuStatus.fd_birthday}</div>
      </div>

      <div className='photograph'>照片</div>
      <div className='stu-infor-title'>民族</div>
      <div className='stu-infor'>{stuStatus.fd_national}</div>
      <div className='stu-infor-title'>政治面貌</div>
      <div className='stu-infor2'>{stuStatus.fd_political}</div>
      <div className='stu-infor-title'>身份证</div>
      <div className='stu-infor'>{stuStatus.fd_idCard}</div>
      <div className='stu-infor-title'>入学前学校</div>
      <div className='stu-infor2'>{stuStatus.fd_oldSchool}</div>
      <div className='stu-infor-title'>籍贯</div>
      <div className='stu-infor3'>{stuStatus.fd_nativePlace}</div>
      <div className='stu-infor-title'>入学方式</div>
      <div className='stu-infor'>{stuStatus.fd_entranceWay}</div>
      <div className='stu-infor-title'>学生类型</div>
      <div className='stu-infor4'>
        {
          stuStatus.fd_learningType === 1 ? "本科" :
            stuStatus.fd_learningType === 2 ? "专科" :
              "未知"
        }
      </div>
      <div className='stu-infor-title'>学籍状态</div>
      <div className='stu-infor4'>
        {
          stuStatus.fd_studentStatus === 1 ? "在读" :
            stuStatus.fd_studentStatus === 2 ? "休学" :
              stuStatus.fd_studentStatus === 3 ? "退学" :
                "未知"
        }
      </div>
      <div className='stu-infor-title'>就读方式</div>
      <div className='stu-infor'>{stuStatus.fd_studyingWay}</div>
      <div className='stu-infor-title'>生源地区</div>
      <div className='stu-infor2'>{stuStatus.fd_studentsTranslate}</div>
      <div className='stu-infor-title'>健康状态</div>
      <div className='stu-infor'>
        {
          stuStatus.fd_health === 1 ? "健康" :
            stuStatus.fd_health === 2 ? "良好" :
              stuStatus.fd_health === 3 ? "较差" :
                "未知"
        }
      </div>
      <div className='stu-infor-title'>宗教信仰</div>
      <div className='stu-infor4'>{stuStatus.fd_faith}</div>
      <div className='stu-infor-title'>独生子女</div>
      <div className='stu-infor4'>
        {
          stuStatus.fd_onlyChild === 1 ? "否" :
            stuStatus.fd_onlyChild === 2 ? "是" :
              "未知"
        }
      </div>
      <div className='stu-infor-title'>血型</div>
      <div className='stu-infor4'>{stuStatus.fd_bloodType}</div>
      <div className='stu-infor-title'>出生地</div>
      <div className='stu-infor5'>{stuStatus.fd_birthplace}</div>
      <div className='stu-infor-title'>家庭住址</div>
      <div className='stu-infor3'>{stuStatus.fd_address}</div>
      <div className='stu-infor-title'>特长</div>
      <div className='stu-infor3'>{stuStatus.fd_specialty}</div>
      {/* 户籍信息 */}
      <div className='stu-infor-title2'> 户籍信息</div>
      <div className='stu-infor-title'>户口类型</div>
      <div className='stu-infor'>
        {
          stuStatus.fd_accountType === 1 ? "农村户口" :
            stuStatus.fd_accountType === 2 ? "城市户口" :
              "未知"
        }
      </div>
      <div className='stu-infor-title'>户口地址</div>
      <div className='stu-infor2'>{stuStatus.fd_accountAddress}</div>
      <div className='stu-infor-title'>国家或地区</div>
      <div className='stu-infor'>{stuStatus.fd_countries}</div>
      <div className='stu-infor-title'>港澳台侨</div>
      <div className='stu-infor4'>
        {
          stuStatus.fd_overseasChinese === 1 ? "否" :
            stuStatus.fd_overseasChinese === 2 ? "是" :
              "未知"
        }
      </div>
      <div className='stu-infor-title'>流动人口</div>
      <div className='stu-infor4'>
        {

          stuStatus.fd_floatingPopulation === 1 ? "否" :
            stuStatus.fd_floatingPopulation === 2 ? "是" :
              "未知"
        }
      </div>
      {/* 联系信息 */}
      <div className='stu-infor-title2'>联系信息</div>
      <div className='stu-infor-title'>通信地址</div>
      <div className='stu-infor2'>{stuStatus.fd_contactAddress}</div>
      <div className='stu-infor-title'>邮政编码</div>
      <div className='stu-infor'>{stuStatus.fd_contactZipCode}</div>
      <div className='stu-infor-title'>联系人</div>
      <div className='stu-infor2'>{stuStatus.fd_contacts}</div>
      <div className='stu-infor-title'>联系电话</div>
      <div className='stu-infor'>{stuStatus.fd_contactPhone}</div>
      <div className='stu-infor-title'>电子邮箱</div>
      <div className='stu-infor3'>{stuStatus.fd_contactEmail}</div>
      <br />
      <br />
      <br />
      <br />
    </Form>
  )
}
